<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../head/head.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Complex DataGrid - jQuery EasyUI Demo</title>
<script type="text/javascript" src="<%=localServer%>/page/demo/message-list.js"></script>
</head>
<body>
	<div style="margin: 10px 0;">
		<a href="#" onclick="getSelected()">GetSelected</a> <a href="#"
			onclick="getSelections()">GetSelections</a> <a href="#"
			onclick="selectRow()">SelectRow</a> <a href="#"
			onclick="selectRecord()">SelectRecord</a> <a href="#"
			onclick="unselectRow()">UnselectRow</a> <a href="#"
			onclick="clearSelections()">ClearSelections</a> <a href="#"
			onclick="resize()">Resize</a> <a href="#" onclick="mergeCells()">MergeCells</a>
	</div>

	<table id="test"></table>
	<div id="w" class="easyui-window" title="消息添加" closed="true"
		modal="true" iconCls="icon-save"
		style="width: 600px; height: 300px; padding: 5px;">
		<div class="easyui-layout" fit="true">
			<div region="center" border="false"
				style="padding: 10px; background: #fff; border: 1px solid #ccc;">
				<div
					style="background: #fafafa; padding: 10px; width: 500px; height: 160px;">
					<form id="ff" method="post">
						<input type="hidden" name="id" value="" />
						<div>
							<label for="fromId">发送人:</label> <input
								class="easyui-validatebox" type="text" name="fromId"
								required="true"></input>
						</div>
						<div>
							<label for="toId">接收人:</label> <input class="easyui-validatebox"
								type="text" name="toId" required="true"></input>
						</div>
						<div>
							<label for="content">消息内容:</label> <input
								class="easyui-validatebox" type="text" name="content"></input>
						</div>
						<div>
							<label for="isRead">是否读取:</label> <input
								class="easyui-validatebox" type="text" name="isRead"
								required="true"></input>
						</div>
						<div>
							<label for="ownerId">拥有方:</label> <input
								class="easyui-validatebox" type="text" name="ownerId"
								required="true"></input>
						</div>
						<div>
							<label for="href">连接路径:</label> <input class="easyui-validatebox"
								type="text" name="href"></input>
						</div>
					</form>
				</div>
			</div>
			<div region="south" border="false"
				style="text-align: right; padding: 5px 0;">
				<a class="easyui-linkbutton" iconCls="icon-ok"
					href="javascript:void(0)" onclick="openSaveRow()">保存</a> <a
					class="easyui-linkbutton" iconCls="icon-cancel"
					href="javascript:void(0)" onclick="cancel()">取消</a>
			</div>
		</div>
	</div>

</body>
</html>